<template>
    <div class="UserContainer">
        <h1>{{msg}}</h1>
        <router-link to="/User/Time">用户时间</router-link>
        <router-link :to="{path:'/User/Order'}">用户订单</router-link>
        <router-view></router-view>
    </div>
</template>

<script>
    export default {
        name:"User",
        data(){
            return{
                msg:"用户组件"
            }
        }
    }
</script>

<style scoped>
   .UserContainer h1{
       background-color: green;
   }
</style>